package com.xjscrm.common.utils.ww.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author mingyang.chen create in 2024/5/6 18:08
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WwCustomerResultDTO extends WwBaseResultDTO {

    private ExternalContact external_contact;
    private List<FollowUser> follow_user;
    private Integer next_cursor;

    @Data
    public static class ExternalContact {
        private String external_userid;
        private String name;
        private String position;
        private String avatar;
        private String corp_name;
        private String corp_full_name;
        private Integer type;
        private Integer gender;
        private String unionid;
    }

    @Data
    public static class FollowUser {
        private String userid;
        private String remark;
        private String description;
        private String createtime;
        private List<TagItem> tags;
        private String remark_corp_name;
        private String remark_mobiles;
        private String oper_userid;
        private Integer add_way;
    }

    @Data
    public static class TagItem {
        private String group_name;
        private String tag_name;
        private String tag_id;
        private int type;
    }
}
